<template>
  <div>
    {{JSON.stringify(obj)}}
    <button @click="b = !b">zhuan</button>
    <button @click="c = !c">zhuan</button>
    <video-dom v-for="n in 200" :key="n" :n="n"></video-dom>
  </div>
</template>

<script>
  import videoDom from '../function/video/index'
  import index from '../../mixins/index'
  export default {
    name: "hall",
    mixins: [index],
    components: {
      videoDom
    },
    data() {
      console.log(this);
      return {
        obj: {
          a: this.g()
        },
        b: true,
        c: true
      }
    },
    computed: {
      flag() {
        debugger
        return this.b && this.c
      }
    },
    // watch: {
    //   flag(newval) {
    //     debugger
    //     this.obj.a = newval;
    //   }
    // },
    methods: {
      g() {
        return this.b && this.c
      }
    },
    created() {
    }
  }
</script>

<style scoped>

</style>
